import request from '@/utils/request'

export function projectAdd(data) {
    return request({
        url: '/project/add',
        method: 'post',
        data: data
    })
}

export function projectUpdate(data) {
    return request({
        url: '/project/update',
        method: 'post',
        data: data
    })
}

export function removeProjectById(id) {
    return request({
        url: '/project/removeById?id=' + id,
        method: 'get'
    })
}

export function projectList() {
    return request({
        url: '/project/list',
        method: 'get'
    })
}

export function queryProjectById(id) {
    return request({
        url: '/project/queryById?id=' + id,
        method: 'get'
    })
}
